* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===================== */


.container-video {
    /* position: relative; */
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    padding: 0 5%; 
    /* margin-top: 40px; */
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.video-overlay video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* =============================== */


.trayectoria{
    color: #212529;
}

#counter-section {
    background-color: #f9f9f9;
    padding: 60px 0;
}

.counter {
    font-size: 3rem;
    font-weight: bold;
    color: #1e3248;
    transition: all 0.3s ease;
}

.counter p {
    font-size: 1.2rem;
    color: #333;
    margin-top: 10px;
}

.container {
    max-width: 1200px;
}




.us-sec {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 1;
    padding: 20px;
    max-width: 800px;
    width: 90%;
}

.us-sec h1 {
    margin-bottom: 20px;
    font-size: 3rem;
    line-height: 1.2;
    font-weight: bold;
}

.us-sec p {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.5;
}

.iconos {
    display: flex;
    justify-content: space-around;
    font-size: 1rem;
    color: #e5e5e5;
    z-index: 1;
    margin-top: 20px;
    gap: 20px;
}

.iconos p {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.iconos i {
    margin-bottom: 10px;
    font-size: 2rem;
}

/* .fa-solid{
    font-size: 2.3rem;
} */

.card-body{
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
}

.otros{
    font-size: 2.3rem;
    color: #121b5e;
}

/* .aboutsec{
    margin-bottom: 2.5rem;
} */

.cta-boton {
    display: inline-block;
    margin-top: 1.2rem;
  background-color: #f0b400;
  color: #000;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.2s;
}

.cta-boton:hover{
    background-color: #ffc107;
}

.ultimasec{
    padding-top: 1.4rem;
}
/* ========================= */



/* Responsive */
@media (max-width: 1024px) {
    .us-sec h1 {
        font-size: 2.5rem;
    }

    .iconos i {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .us-sec h1 {
        font-size: 2rem;
    }

    .us-sec p {
        font-size: 1rem;
    }

    .iconos {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .us-sec h1 {
        font-size: 1.5rem;
    }

    .us-sec p {
        font-size: 0.9rem;
    }

    .iconos i {
        font-size: 1.2rem;
    }

    .about_text {
        font-size: 1rem;
    }
}



  .hover-card:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
  }

  .hover-card img {
    filter: grayscale(100%);
    transition: filter 0.3s ease;
  }

  .hover-card:hover img {
    filter: grayscale(0%);
  }

  @media (max-width: 767.98px) {
    .card-text {
      font-size: 0.95rem;
    }
  }